package com.example.ddz;

import java.util.List;

import android.content.Context;

import com.example.ddz.framework.Game;
import com.example.ddz.framework.impl.Screen;



public class HelpScreen extends Screen {

	  public HelpScreen(Game paramGame)
	  {
	    super(paramGame);
	    this.screenType = 3;
	  }

	  public void dispose()
	  {
	  }

	  public void pause()
	  {
	  }

	  public void present(float paramFloat)
	  {
	    Graphics localGraphics = this.game.getGraphics();
	    Pixmap localPixmap1 = Assets.backgroundGame;
	    localGraphics.drawPixmap(localPixmap1, 0, 0);
	    Pixmap localPixmap2 = Assets.banner;
	    int i = Assets.banner.getRawWidth();
	    int j = (800 - i) / 2;
	    localGraphics.drawPixmap(localPixmap2, j, 0);
	    String str1 = ((Context)this.game).getString(2130968655);
	    String str2 = ((Context)this.game).getString(2130968656);
	    localGraphics.drawHelpTitle(str1);
	    int k = Assets.banner.getRawHeight() + 40;
	    localGraphics.drawHelpInfo(str2, 0, k, 780, 380);
	  }

	  public void resume()
	  {
	  }

	  public void update(float paramFloat)
	  {
	    List localList1 = this.game.getInput().getTouchEvents();
	    List localList2 = this.game.getInput().getKeyEvents();
	    int i = localList1.size();
	    int j = 0;
	    while (true)
	    {
	      if (j >= i)
	        return;
	      Input.TouchEvent localTouchEvent = (Input.TouchEvent)localList1.get(j);
	      if ((localTouchEvent.type == 1) && (localTouchEvent.x > 256))
	        int k = localTouchEvent.y;
	      j += 1;
	    }
	  }
}
